﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="cn_member_center_draft_box" Codebehind="draft_box.aspx.cs" %>


<%@ Register Src="../UserControl/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="../UserControl/top_ad.ascx" TagName="top_ad" TagPrefix="uc2" %>
<%@ Register Src="../UserControl/member_menu.ascx" TagName="member_menu" TagPrefix="uc3" %>
<%@ Register Src="../UserControl/footer.ascx" TagName="footer" TagPrefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>草稿箱，<%=(new Gift.WebApp.BasicSet()).TitleBind() %></title>
    <meta name="Keywords" content="<%=(new Gift.WebApp.BasicSet()).KeywordBind() %>" />
    <meta name="Description" content="<%=(new Gift.WebApp.BasicSet()).DescriptionBind() %>" />
    <link href="/script/css/public.css" type="text/css" rel="stylesheet" />
    <link href="/script/css/member.css" type="text/css" rel="stylesheet" />
    <link href="/script/css/ie.css" type="text/css" rel="stylesheet" />

    <script language="Javascript" type="text/javascript" src="/script/js/jquery-1.6.2.min.js"></script>

    <!--登陆注册 弹出窗口-->
    <style type="text/css" media="all">
        @import "/script/js/login/thickbox.css";
    </style>

    <script src="/script/js/login/thickbox.js" type="text/javascript"></script>

     <link href="/script/art_dialog/skins/idialog.css" rel="stylesheet" />

    <script type="text/javascript" src="/script/art_dialog/artDialog.js"></script>

    <script type="text/javascript" src="/script/art_dialog/plugins/iframeTools.source.js"></script>

    <script type="text/javascript" src="/script/js/art_dialog.js"></script>

</head>
<body>
    <uc1:header ID="Header1" runat="server" />
    <uc2:top_ad ID="Top_ad1" runat="server" />
    <div class="container">
        <uc3:member_menu ID="Member_menu1" runat="server" />
        <!--end leftnav-->
        <div class="rightcontent">
            <h5>
                <strong>草稿箱</strong></h5>
            <table>
                <tr>
                    <th>
                        标题</th>
                    <th>
                        收件人</th>
                    <th>
                        时间</th>
                    <th>
                        操作</th>
                </tr>
                <asp:Repeater ID="rptDraftBox" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <a href="send_message.html?id=<%# Eval("id") %>">
                                    <%# Eval("title") %>
                                </a>
                            </td>
                            <td>
                                <%# Eval("addressee")%>
                            </td>
                            <td>
                                <%# Eval("saveTime")%>
                            </td>
                            <td>
                                <a href="send_message.html?id=<%# Eval("id") %>">发送</a> <a href="javascript:return false;"
                                    onclick="confirmMessage('您确定要删除操作吗？','/member_center/draft_box.html?id=<%# Eval("id") %>');">
                                    删除</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <tr class="nocontact" style='display: <%# rptDraftBox.Items.Count==0?"block":"none"%>;'>
                            <td colspan="4" style="text-align: center; color: #ff0000;">
                                没有找到任何记录
                            </td>
                        </tr>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
        </div>
        <!--end rightcontent-->
        <span class="clear"></span>
    </div>
    <uc4:footer ID="Footer1" runat="server" />
</body>
</html>
